import React, { Component } from 'react'
import routes from "./router/routerConfig"
import RouterView from './router/RouterView'
import {BrowserRouter as Router} from "react-router-dom"
import {Provider} from "react-redux"
import store from "./store"
export class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <Router>
          <RouterView routes={routes}/>
        </Router>
      </Provider>
    )
  }
}

export default App
